// import axios from '/static/js/axios.js'
// import QS from 'qs'
// import base from './base'

export function addCarousel(data) {
    return axios({
        url: `/carousel`,
        method: 'post',
        data: JSON.stringify(data),
    })
}

export function getCarouselList() {
    return axios({
        url: `/carousel/all`,
        method: 'get'
    })
}
export function delCarouselList(id) {
    return axios({
        url: `/carousel/` + id,
        method: 'delete'
    })
}

